<?php

namespace app\home\controller;

use think\Controller;
use think\facade\Request;

class Suo extends Base
{
    public function search()
    {
        //
        $param=Request::param('goods_name');
        $data=\app\common\model\Goods::where('goods_name','like',"%$param%")->select();
        // dump($data);
        return $this->fetch('/goods/index',['list'=>$data]);

    }

    
}
